package com.zsjt.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author zhanb
 * @MapperScan 扫描所有mapper
 * @EnableAsync 开启异步注解
 * @EnableScheduling 开启定时功能
 */
@MapperScan(value = "com.zsjt.app.mapper")
@EnableAsync
@EnableScheduling
@SpringBootApplication
public class AppApplication {
    public static void main(String[] args) {
        SpringApplication.run(AppApplication.class, args);
    }
}
